﻿using MediatR;
using Traceability.ErrorCode;

namespace Traceability.APP.Application.Command.DCompany
{
    /// <summary>
    /// 深加工企业的修改
    /// </summary>
    public class UpdateDeepcompanyCommand:IRequest<APIResult<int>>
    {

        /// <summary>
        /// 主键ID
        /// </summary>
        public int ID { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public string CreateName { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; } = DateTime.Now;

        /// <summary>
        /// 修改人
        /// </summary>
        public string? UpdateName { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }

        /// <summary>
        /// 删除标识
        /// </summary>
        public bool IsDeleted { get; set; } = false;

        // <summary>
        /// 公司名称
        /// </summary>
        public string DCompany_Name { get; set; }

        /// <summary>
        /// 生产许可证
        /// </summary>
        public string DCeep_Production { get; set; }

        /// <summary>
        /// 批次
        /// </summary>
        public string Batch { get; set; }
    }
}
